package com.martin.dsc;

import java.util.Scanner;

public class health {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

//        System.out.println("请输入您的体重(KG)：");
//        double weight = sc.nextDouble();
//        System.out.println("请输入您的身高（米）：");
//        double height = sc.nextDouble();
//
//        System.out.printf("您的BMI指数为：%.2f\n",calculateBMI(weight, height));
//        System.out.println("=====================");
//        String sex;
//        sex = sc.next();
//        boolean flag = (sex.equals("男"));
//        System.out.println(flag);

        for(int i=0;i<100;i++){
            double a = Math.random()*5;
            System.out.println(a+"     " + (int)(a));
        }


    }
    private static double calculateBMI(double weight, double height) {
            return weight / (height * height);
    }
}
